package com.young.monitor.model;

import java.util.List;

/**
 * 接口监控统计查询类
 * @author wangjiyu@imdada.cn 2019/7/12
 */
public class ApiIndexStatSearch {
    /**
     * 应用
     */
    private String app;
    /**
     * 接口
     */
    private String key;
    /**
     * 时间
     */
    private List<Long> times;
    /**
     * 时间范围
     */
    private Integer timeRange;
    /**
     * 时间维度
     * 1表示分钟
     * 2表示小时
     * 3表示天
     */
    private Integer dimension;

    public Integer getDimension() {
        return dimension;
    }

    public void setDimension(Integer dimension) {
        this.dimension = dimension;
    }

    public Integer getTimeRange() {
        return timeRange;
    }

    public void setTimeRange(Integer timeRange) {
        this.timeRange = timeRange;
    }

    public String getApp() {
        return app;
    }

    public void setApp(String app) {
        this.app = app;
    }

    public String getKey() {
        return key;
    }

    public void setKey(String key) {
        this.key = key;
    }

    public List<Long> getTimes() {
        return times;
    }

    public void setTimes(List<Long> times) {
        this.times = times;
    }
}
